/**
 * Created by dukes on 2015/11/2.
 */
module game{
    export class UserExt extends egret.HashObject{
        public dateTimes;
        public maxDateTimes;
        public userId;
        public constructor(data = null){
            super();
            if( data )
                this.initFromData(data);
        }

        public initFromData(data:any){
            this.dateTimes = data.dateTimes;
            this.maxDateTimes = data.maxDateTimes;
            this.userId = data.userId;
        }
    }
}